package com.huge.rpc.handler;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * 处理网络请求的handler
 *
 * @author jihu
 * @date 2020/10/12
 */
public interface RequestHandler {

    void onRequest(InputStream recive, OutputStream toResp);
}
